package com.fantastic.service.zjs;

import com.fantastic.model.pojo.zjs.OrderDetails;
import com.fantastic.model.pojo.zjs.Orders;

import java.util.List;

/**
 * @author: rxx
 * @since: 2024/6/6 10:45
 * @description: 订单详情信息表
 */

public interface OrderDetailsService {
    /**
     * 查询订单详情信息
     *
     * @param orderDetails
     * @return
     */
    List<OrderDetails> listOrderDetails(OrderDetails orderDetails);

    /**
     * 查询单个
     *
     * @param orderDetailsId
     * @return
     */
    OrderDetails getOrderDetails(Integer orderDetailsId);

    /**
     * 添加订单详情信息
     *
     * @param orderDetails
     * @return
     */
    Integer insertOrderDetails(OrderDetails orderDetails);

    /**
     * 批量添加订单详情信息
     *
     * @param orders  订单对象
     * @return
     */
    Integer addsOrderDetails(Orders orders);

    /**
     * 修改订单详情信息
     *
     * @param orderDetails
     * @return
     */
    Integer updateOrderDetails(OrderDetails orderDetails);

    /**
     * 删除订单详情信息
     *
     * @param orderDetailsId
     * @return
     */
    Integer deleteOrderDetails(Integer orderDetailsId);
}
